module.exports = {
  text: {
    type: Object,
    default: function () {
      return {
        content: '请在数据管理中设置文本，需要高亮的文本放在<i>20%</i>标签中'
      }
    },
    name: '文本内容',
    filedType: 'api'
  },

  bgColor: {
    type: String,
    default: 'transparent',
    name: '文本块背景',
    filedType: 'color'
  },

  padding: {
    type: String,
    default: '0',
    name: '文本块内边距',
    filedType: 'string'
  },

  lineHeight: {
    type: String,
    default: '20px',
    name: '行高',
    filedType: 'string'
  },

  fontFamily: {
    type: Array,
    default: '微软雅黑',
    name: '字体',
    filedType: 'select',
    options: [
      {
        name: '微软雅黑',
        value: 'Microsoft YaHei'
      },
      {
        name: '宋体',
        value: '宋体'
      },
      {
        name: '继承父元素',
        value: 'inherit'
      },
      {
        name: 'Arial',
        value: 'Arial'
      },
      {
        name: 'Helvetica Neue',
        value: 'Helvetica Neue'
      },
      {
        name: 'Helvetica',
        value: 'Helvetica'
      }
    ]
  },

  fontSize: {
    type: String,
    default: '18px',
    name: '字号',
    filedType: 'string'
  },

  fontWeight: {
    type: Boolean,
    default: false,
    name: '显示为粗体',
    filedType: 'switch'
  },

  color: {
    type: String,
    default: '#00c6ff',
    name: '文本颜色',
    filedType: 'color'
  },

  align: {
    type: String,
    default: 'right',
    name: '对齐方式',
    filedType: 'select',
    options: [
      {
        name: '左对齐',
        value: 'left'
      },
      {
        name: '居中',
        value: 'center'
      },
      {
        name: '右对齐',
        value: 'right'
      },
      {
        name: '两端对齐',
        value: 'justify'
      }
    ]
  },

  paddingLeft: {
    type: String,
    default: '20px',
    name: '间距',
    filedType: 'string'
  },
  areaid: {
    type: String,
    default: '430100',
    name: '区域ID',
    filedType: 'string'
  },
  cssCustom: {
    type: String,
    default: '',
    name: '样式定制',
    filedType: 'select',
    options: [
      {
        name: '雨花区智慧大屏',
        value: '1'
      },
      {
        name: '样式2',
        value: '2'
      },
      {
        name: '样式3',
        value: '3'
      },
      {
        name: '样式4',
        value: '4'
      }
    ]
  },
  fontSize1: {
    type: String,
    default: '14px',
    name: '小字号',
    filedType: 'string'
  },
  // iconWidth: {
  //   type: String,
  //   default: '24px',
  //   name: '图标宽度',
  //   filedType: 'string'
  // },
  iconHeight: {
    type: String,
    default: '24px',
    name: '图标高度',
    filedType: 'string'
  },
}

// Helvetica Neue,,宋体,Arial,Helvetica,sans-serif
